package com.financing.wap.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.wap.dto.PublicActivitiesDTO;
import com.financing.wap.dto.PublicActivitiesPersonDTO;
import com.financing.wap.vo.PublicActivitiesVo;

/**
 * 
 * @ClassName: IPublicActivitiesService
 * @Description: 公共活动服务器层 
 * @author  qiye
 * @date 2014年11月6日 下午4:15:27
 *
 */
public interface IPublicActivitiesService {
 
	/**
	 * 
	 * @Title: addPublicActivities
	 * @Description: 添加公共活动 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int addPublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	/**
	 * @Title: getPublicActivities
	 * @Description: 获取公共活动详细 
	 * @param publicActivitiesDTO
	 * @return
	 * @throws SQLException
	 */
	public PublicActivitiesVo queryPublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	/**
	 * @Title: getPublicActivitiesList
	 * @Description: 获取公共活动列表
	 * @param parameter
	 * @return
	 */
	public List<PublicActivitiesVo> getPublicActivitiesList(Map<String,Object> parameter)throws SQLException;
	/**
	 * @Title: getPublicActivitiesCount
	 * @Description: 获取公共活动总数
	 * @param parameter
	 * @return
	 */
	public int getPublicActivitiesCount(Map<String,Object> parameter)throws SQLException;
	/**
	 * @Title: addPublicActivitiesPerson
	 * @Description: 添加活动参与人
	 * @param bean
	 * @return
	 * @throws SQLException
	 */
	public int addPublicActivitiesPerson(PublicActivitiesPersonDTO bean)throws SQLException;
}
